package cn.yanlin.springcloud.service;

import cn.yanlin.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhangyanlin
 * @version 1.0
 * @date 2021/10/7 21:29
 */
public interface PaymentService {
    //写数据
    public int create(Payment payment);
    //读数据
    public Payment getPaymentById(@Param("id") Long id);
}
